home *** CD-ROM | disk | FTP | other *** search
/ Just Call Me Internet / Just Call Me Internet.iso / com / radio / rcommand / printer.hex < prev    next >
Text File  |  1993-10-27  |  13KB  |  235 lines

  1. ******************************************************************
  2. *                                                                
  3. *      HP LaserJet 4L   Printer  Configuration Table             
  4. *                                                                
  5. *      Adapted 06/12/1993 by Frank Storm, D-52072 Aachen         
  6. *                                                                
  7. *      This file contains tables defining the code sequences     
  8. *      to be sent to the printer to perform various functions     
  9. *      and to access the characters from codes in the Atari      
  10. *      character set. All characters, that do not exist in any   
  11. *      character set of the Laserjet 4L are replaced by a space.  
  12. *                                                                
  13. ******************************************************************
  14. *
  15. * Name of printer
  16. * ===============
  17. *
  18. HP LaserJet 4L
  19. *
  20. * Miscellaneous configurable variables
  21. * ====================================
  22. *
  23. * 1: printer type, 0=dot matrix, 1=daisy wheel
  24. *    Note if printer type is 0 the following 4 variables are never used.
  25. * 2: unit width of one character
  26. * 3: unit height of one line
  27. * 4: Approximate middle of carriage after formfeed
  28. * 5: Carriage shift for bold overstrike
  29. * 6: Pause between pages
  30. 0, 0, C, 48, 0, 0
  31. *
  32. * Printer characteristics
  33. * =======================
  34. *
  35. * This table specifies the printer command sequences.
  36. * If the top bit of a code is set, then this indicates the position
  37. * of a parameter passed to the printer. The code whose top bit is set
  38. * in this table is added to the parameter passed before being sent to the
  39. * printer. It is not used in all command sequences, only in those where 
  40. * the printer requires  a variable value such as the length of a vertical 
  41. * tab.
  42. *
  43. * 0                                              * Character width
  44. 1, D, A                                          * Linefeed WITH return
  45. * 2                                              * Forward print
  46. * 3                                              * Reverse print
  47. * 4                                              * Absolute vertical tab
  48. * 5                                              * Absolute horizontal tab 
  49. 6, 1B, 28, 73, 33, 42                            * Draft bold on
  50. 7, 1B, 28, 73, 30, 42                            * Draft bold off
  51. 8, 1B, 28, 73, 33, 42                            * NLQ bold on
  52. 9, 1B, 28, 73, 30, 42                            * NLQ bold off                              
  53. A, 1B, 28, 73, 31, 53                            * Draft Italic on
  54. B, 1B, 28, 73, 30, 53                            * Draft Italic off
  55. C, 1B, 28, 73, 31, 53                            * NLQ Italic on         
  56. D, 1B, 28, 73, 30, 53                            * NLQ Italic off            
  57. E, 1B, 28, 73, 2D, 33, 42                        * Draft light on
  58. F, 1B, 28, 73, 30, 42                            * Draft light off
  59. 10, 1B, 28, 73, 2D, 33, 42                       * NLQ enlarged on  (NLQ light on) 
  60. 11, 1B, 28, 73, 30, 42                           * NLQ enlarged off (NLQ light off)                 
  61. *12, 1B, 53, 0                                   * Draft superscript on
  62. *13, 1B, 54                                      * Draft superscript off
  63. *14, 1B, 53, 0                                   * NLQ superscript on    
  64. *15, 1B, 54                                      * NLQ superscript off
  65. *16, 1B, 53, 1                                   * Draft subscript on
  66. *17, 1B, 54                                      * Draft subscript off
  67. *18, 1B, 53, 1                                   * NLQ subscript on 
  68. *19, 1B, 54                                      * NLQ subscript off
  69. 1A, 1B, 26, 64, 30, 44                           * Draft underline on
  70. 1B, 1B, 26, 64, 40                               * Draft underline off
  71. 1C, 1B, 26, 64, 30, 44                           * NLQ underline on
  72. 1D, 1B, 26, 64, 40                               * NLQ underline off
  73. 1E, C                                            * Formfeed ( LINEFEED )
  74. *1F, 1B, 44, 1, 0, 9                             * Horizontal initialisation
  75. *20, 1B, 42, 0, 0, B                             * Vertical initialisation
  76. 21, 1B, 28, 38, 55                               * Printer reset (switch to character set Roman-8)
  77. *22, 8                                           * Backspace
  78. 23, D                                            * Carriage return 
  79. *24, 1B, 26, 6C, 80, 46                          * Form length in lines
  80. *25, 1B, 41, 80                                  * Set line feed to N/72"
  81. *26, 1B, 2A, 4                                   * Start graphics 
  82. *27                                              * reserved
  83. 28, 1B, 26, 6B, 30, 53                           * draft pica
  84. 29, 1B, 26, 6B, 30, 53                           * NLQ pica
  85. 2A, 1B, 26, 6B, 34, 53                           * draft elite
  86. 2B, 1B, 26, 6B, 34, 53                           * no NLQ elite
  87. 2C, 1B, 26, 6B, 32, 53                           * compressed
  88. 2D, 1B, 26, 6B, 32, 53                           * no NLQ compressed
  89. *2E, 1B, 78, 0, 1B, 50, 12, 0E                   * enlarged
  90. *2F, 1B, 78, 1, 1B, 50, 12, 0E                   * NLQ enlarged
  91. 0
  92. *
  93. * Translation Table
  94. * =================
  95. *
  96. * This table provides translation from single Atari input bytes into
  97. * multiple Epson printer codes, and is useful for printing extraneous
  98. * characters such as accented characters etc. All characters are 
  99. * subjected to translation, but if there is no entry in the table for
  100. * a particular code, then the original code is sent to the printer.
  101. *
  102. * The entries must be arranged in ascending order of Atari input
  103. * code. The table is NULL terminated.
  104. 7F, 1B, 28, 31, 30, 55, 7F, 1B, 28, 38, 55       * Triangle
  105. 80, B4                                           * Upercase C Cedilla
  106. 81, CF                                           * Lowercase U Dieresis
  107. 82, C5                                           * Lowercase E Acute
  108. 83, C0                                           * Lowercase A Circumflex
  109. 84, CC                                           * Lowercase A Dieresis
  110. 85, C8                                           * Lowercase A Grave
  111. 86, D4                                           * Lowercase A Ring
  112. 87, B5                                           * Lowercase C Cedilla
  113. 88, C1                                           * Lowercase E Circumflex
  114. 89, CD                                           * Lowercase E Dieresis
  115. 8A, C9                                           * Lowercase E Grave
  116. 8B, DD                                           * Lowercase I Dieresis
  117. 8C, D1                                           * Lowercase I Circum
  118. 8D, D9                                           * Lowercase I Grave
  119. 8E, D8                                           * Uppercase A Dieresis
  120. 8F, D0                                           * Uppercase A Ring
  121. 90, DC                                           * Uppercase E Acute
  122. 91, D7                                           * Lowercase AE
  123. 92, D3                                           * Uppercase AE
  124. 93, C2                                           * Lowercase O Circum
  125. 94, CE                                           * Lowercase O Dieresis
  126. 95, CA                                           * Lowercase O Grave
  127. 96, C3                                           * Lowercase U Circum
  128. 97, CB                                           * Lowercase U Grave
  129. 98, EF                                           * Lowercase Y Dieresis
  130. 99, DA                                           * Uppercase O Dieresis
  131. 9A, DB                                           * Uppercase U Dieresis
  132. 9B, BF                                           * Cent Sign
  133. 9C, BB                                           * Pound Sterling Sign
  134. 9D, BC                                           * Yen Sign
  135. 9E, DE                                           * Lowercase Es-zet
  136. 9F, BE                                           * Florin Sign
  137. A0, C4                                           * Lowercase A Acute
  138. A1, D5                                           * Lowercase I Acute
  139. A2, C6                                           * Lowercase O Acute
  140. A3, C7                                           * Lowercase U Acute
  141. A4, B7                                           * Lowercase N Tilde
  142. A5, B6                                           * Uppercase N Tilde
  143. A6, 1B, 26, 64, 30, 44, 61, 1B, 26, 64, 40       * Lowercase A Underlined
  144. A7, 1B, 26, 64, 30, 44, 6F, 1B, 26, 64, 40       * Lowercase o Underlined
  145. A8, B9                                           * Inverted Question
  146. A9, 1B, 28, 31, 30, 55, DA, 1B, 28, 38, 55       * Top Left Corner
  147. AA, 1B, 28, 31, 30, 55, BF, 1B, 28, 38, 55       * Top Right Corner
  148. AB, F8                                           * Vulgar Fraction 1/2
  149. AC, F7                                           * Vulgar Fraction 1/4
  150. AD, B8                                           * Inverted Exclamation
  151. AE, FB                                           * Dbl lft pt Ang Quote
  152. AF, FD                                           * Dbl rt pt Ang Quote
  153. B0, E2                                           * Lowercase A Tilde
  154. B1, EA                                           * Lowercase O Tilde
  155. B2, D2                                           * Uppercase O Oblique
  156. B3, D6                                           * Lowercase O Oblique
  157. B4, 1B, 28, 31, 39, 55, 9C, 1B, 28, 38, 55       * Lowercase OE Ligature
  158. B5, 1B, 28, 31, 39, 55, 8C, 1B, 28, 38, 55       * Uppercase OE Ligature
  159. B6, A1                                           * Uppercase A Grave
  160. B7, E1                                           * Uppercase A Tilde
  161. B8, E9                                           * Uppercase O Tilde
  162. B9, AB                                           * Lowwercase Dieresis
  163. BA, A8                                           * Lowercase Acute
  164. BB, 1B, 28, 31, 39, 55, 86, 1B, 28, 38, 55       * Dagger Symbol
  165. BC, 1F                                           * Pilcrow, Paragraph
  166. BD, 1B, 28, 31, 39, 55, A9, 1B, 28, 38, 55       * Copyright Sign
  167. BE, 1B, 28, 31, 39, 55, AE, 1B, 28, 38, 55       * Registered Sign
  168. BF, 1B, 28, 31, 39, 55, 99, 1B, 28, 38, 55       * Trademark Sign
  169. C0, 1B, 28, 36, 4A, F6, 1B, 28, 38, 55           * Lowercase IJ Ligature
  170. C1, 1B, 28, 36, 4A, E6, 1B, 28, 38, 55           * Uppercase IJ Ligature
  171. C2, 1B, 28, 38, 4D, D9, 1B, 28, 38, 55     
  172. C3, 1B, 28, 38, 4D, DA, 1B, 28, 38, 55 
  173. C4, 1B, 28, 38, 4D, DB, 1B, 28, 38, 55 
  174. C5
  175. C6
  176. C7
  177. C8
  178. C9
  179. CA
  180. CB
  181. CC
  182. CD
  183. CE
  184. CF
  185. D0
  186. D1
  187. D2
  188. D3
  189. D4
  190. D5
  191. D6
  192. D7
  193. D8
  194. D9
  195. DA
  196. DB
  197. DC
  198. DD, BD                                           * Section Mark
  199. DE, 1B, 28, 38, 4D, C5, 1B, 28, 38, 55           * dropped circumflex
  200. DF, 1B, 28, 31, 30, 55, EC, 1B, 28, 38, 55       * Infinity Sign
  201. E0, 1B, 28, 31, 30, 55, E0, 1B, 28, 38, 55       * Lowercase Greek Alpha
  202. E1, 1B, 28, 38, 4D, 62, 1B, 28, 38, 55           * Lowercase Greek Beta
  203. E2, 1B, 28, 31, 30, 55, E2, 1B, 28, 38, 55       * Uppercase Greek Gamma  
  204. E3, 1B, 28, 31, 30, 55, E3, 1B, 28, 38, 55       * Lowercase Pi
  205. E4, 1B, 28, 31, 30, 55, E4, 1B, 28, 38, 55       * Large Sigma, Summ
  206. E5, 1B, 28, 31, 30, 55, E5, 1B, 28, 38, 55       * Lowercase Greek Sigma
  207. E6, F3                                           * Lowercase Greek My
  208. E7, 1B, 28, 31, 30, 55, E7, 1B, 28, 38, 55       * Lowercase Greek Tau
  209. E8, 1B, 28, 31, 30, 55, E8, 1B, 28, 38, 55       * Uppercase Greek Phi
  210. E9, 1B, 28, 31, 30, 55, E9, 1B, 28, 38, 55       * Uppercase Greek Theta
  211. EA, 1B, 28, 31, 30, 55, EA, 1B, 28, 38, 55       * Uppercase Greek Omega
  212. EB, 1B, 28, 31, 30, 55, EB, 1B, 28, 38, 55       * Lowercase Greek Delta 
  213. EC, 1B, 28, 38, 4D, D6, 1B, 28, 38, 55           * Integral Ring Symbol
  214. ED, 1B, 28, 31, 30, 55, ED, 1B, 28, 38, 55       * Uppercase Greek Phi
  215. EE, 1B, 28, 31, 30, 55, EE, 1B, 28, 38, 55       * Membership
  216. EF, 1B, 28, 31, 30, 55, EF, 1B, 28, 38, 55       * Integers
  217. F0, 1B, 28, 31, 30, 55, F0, 1B, 28, 38, 55       * Exactly Equals
  218. F1, FE                                           * Plus Over Minus Sign
  219. F2, 1B, 28, 31, 30, 55, F2, 1B, 28, 38, 55       * Greater Than / Equal To
  220. F3, 1B, 28, 31, 30, 55, F3, 1B, 28, 38, 55       * Less Than / Equal To
  221. F4, 1B, 28, 31, 30, 55, F4, 1B, 28, 38, 55       * Integral Symbol top piece
  222. F5, 1B, 28, 31, 30, 55, F5, 1B, 28, 38, 55       * Integral Symbol bottom piece
  223. F6, 1B, 28, 31, 30, 55, F6, 1B, 28, 38, 55       * Divide Sign
  224. F7, 1B, 28, 31, 30, 55, F7, 1B, 28, 38, 55       * 2 Wavy Line Approx
  225. F8, 1B, 28, 31, 30, 55, F8, 1B, 28, 38, 55       * Degree Sign
  226. F9, 1B, 28, 31, 30, 55, F9, 1B, 28, 38, 55       * Small Solid Bullet
  227. FA, 1B, 28, 31, 30, 55, FA, 1B, 28, 38, 55       * Small Solid Bullet
  228. FB, 1B, 28, 31, 30, 55, FB, 1B, 28, 38, 55       * Radical Symbol
  229. FC, 1B, 28, 31, 30, 55, FC, 1B, 28, 38, 55       * Superior Lowercase N
  230. FD, 1B, 28, 31, 30, 55, FD, 1B, 28, 38, 55       * Superior Numeral 2
  231. FE  1B, 28, 31, 39, 55, B3, 1B, 28, 38, 55       * Superior Numeral 3
  232. FF, B0                                           * Overline, Overscore     
  233. 0
  234.